package com.baofu.paycore.web;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * description:
 * <p>
 * 1、
 * </p>
 * User: xin deng  Date: 16/4/26 ProjectName: paycore Version: 1.0
 */
@Slf4j
public class PayCoreTest {
    public static void main(String[] args) {

        log.info("starting.............");
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
                new String[] {"/spring/applicationContext.xml" });
        context.start();
        log.info("running..............");
        while (true) {
            try {
                Thread.sleep(5000);
            } catch (InterruptedException e) {
                log.error("同一支付启动异常:{}",e);
            }
        }
    }

}
